Revision: arch-perl--devel--0--patch-14
Archive: uebergeek@web.de--2003
Creator: Enno Cramer <uebergeek@web.de>
Date: Sat Oct 16 21:55:03 CEST 2004
Standard-date: 2004-10-16 19:55:03 GMT
Modified-files: perllib/Arch/Session.pm
New-patches: uebergeek@web.de--2003/arch-perl--devel--0--patch-14
Summary: fix caching in Arch::Session
Keywords: 

Arch::Session would keep its revisions and revision details cache when
switching from one version to another. It also never cleared its
archives, categories, branches or versions cache. This lead to problems
when using the same Arch::Session to get information about different
arch entities.

This patch modifies Arch::Session to correctly cache results of
different request, thus eliminating the need to implicitly clear the
cache. It also adds a new method ->clear_cache to explicitly discard
any cached information.
